<template>
    <div>
        <van-tabbar v-model="active" route>
            <van-tabbar-item replace to="/home/home" icon="home-o">首页</van-tabbar-item>
            <van-tabbar-item replace to="/home/fen" icon="search">分类</van-tabbar-item>
            <van-tabbar-item replace to="/home/ceat" icon="friends-o">购物车</van-tabbar-item>
            <van-tabbar-item replace to="/home/my" icon="setting-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script setup>
import { ref } from 'vue';
const active=ref(0)

</script>

<style lang="scss" scoped>

</style>